<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('文件上传')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
            <div class="form-group">
                <label class="col-xs-2 control-label">存储类型：</label>
                <label class="radio-inline">
                    <input type="radio" name="type" v-model="config.type" value="1"/> 七牛
                </label>
                <label class="radio-inline">
                    <input type="radio" name="type" v-model="config.type" value="2"/> 阿里云
                </label>
                <label class="radio-inline">
                    <input type="radio" name="type" v-model="config.type" value="3"/> 腾讯云
                </label>
            </div>
            <div v-show="config.type == 1">
                <!--<div class="form-group">-->
                    <!--<div class="col-xs-2 control-label">&nbsp;</div>-->
                    <!--<p class="form-control-static"><a href="http://www.renren.io/open/qiniu.html" target="_blank">免费申请(七牛)10GB储存空间</a></p>-->
                <!--</div>-->
                <div class="form-group">
                    <label class="col-xs-2 control-label">域名：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qiniuDomain" placeholder="七牛绑定的域名"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">路径前缀：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qiniuPrefix" placeholder="不设置默认为空"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">AccessKey：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qiniuAccessKey" placeholder="七牛AccessKey"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">SecretKey：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qiniuSecretKey" placeholder="七牛SecretKey"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">空间名：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qiniuBucketName" placeholder="七牛存储空间名"/>
                    </div>
                </div>
            </div>
            <div v-show="config.type == 2">
                <div class="form-group">
                    <div class="col-xs-2 control-label">域名</div>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunDomain" placeholder="阿里云绑定的域名"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">路径前缀：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunPrefix" placeholder="不设置默认为空"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">EndPoint：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunEndPoint" placeholder="阿里云EndPoint"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">AccessKeyId：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunAccessKeyId" placeholder="阿里云AccessKeyId"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">AccessKeySecret：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunAccessKeySecret" placeholder="阿里云AccessKeySecret"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">BucketName：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.aliyunBucketName" placeholder="阿里云BucketName"/>
                    </div>
                </div>
            </div>
            <div v-show="config.type == 3">
                <div class="form-group">
                    <label class="col-xs-2 control-label">域名：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudDomain" placeholder="腾讯云绑定的域名"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">路径前缀：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudPrefix" placeholder="不设置默认为空"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">AppId：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudAppId" placeholder="腾讯云AppId"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">SecretId：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudSecretId" placeholder="腾讯云SecretId"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">SecretKey：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudSecretKey" placeholder="腾讯云SecretKey"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">BucketName：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudBucketName" placeholder="腾讯云BucketName"/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-xs-2 control-label">Bucket所属地区：</label>
                    <div class="col-xs-9">
                        <input type="text" class="form-control" v-model="config.qcloudRegion" placeholder="如：sh（可选值 ，华南：gz 华北：tj 华东：sh）"/>
                    </div>
                </div>
            </div>
		</table>
	</div>
	<div th:include="include/footer_js::footer"></div>
	<script th:src="@{/js/sys_html/oss/cloudConfig.js}"></script>
</body>
</html>